﻿using System;
using System.Collections.Generic;
using System.Linq;
//using System.Threading;
using System.Web;
using DrillOnline.Hubs;
using Microsoft.AspNet.SignalR;

namespace DrillOnline.Services.Scenarios
{
    public class Scene : IComparable<Scene>
    {
        //public TimeSpan Timemark{get;set;}
        public virtual int Offset { get; set; }
        public virtual string[] Groups { get; set; }


        public virtual string Title { get; set; }


        public int CompareTo(Scene other)
        {
            return this.Offset.CompareTo(other.Offset);
        }

    }
    public class ActorGroup
    {
        public Models.ActorGroup Model { get; set; }
        public virtual Guid ID { get; set; }
        public virtual string GroupKey { get; set; }
        //public int PlayingStatus_LastSceneSecOffset { get; set; }
        public List<Actor> Actors { get; set; }
        public List<Actor> Examiners { get; set; }
        public ActorGroup() { Actors = new List<Actor>(); Examiners = new List<Actor>(); }
    }
    public class Actor
    {
        public virtual string ActorKey { get; set; }
        public virtual string Password { get; set; }
        public ActorGroup Group { get; set; }
        public string GroupKey { get; set; }
    }
}